<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>在此处插入标题</title>
</head>
<body>
<%
	request.setCharacterEncoding("utf-8");
	String ip=request.getRemoteAddr();
	String name=request.getParameter("uname");
	String p=request.getParameter("password");
	String age=request.getParameter("age");
	int a=Integer.parseInt(age);
	String x=request.getParameter("xueli");
	//String from=request.getParameter("from");
	String[]f=request.getParameterValues("from");
 %>
 <h1>ip:<%=ip%></h1>
 <h1>姓名：<%=name%></h1>
 <h1>密码：<%=p%></h1>
 <h1>年龄:<%=a%></h1>
 <h1>学历：<%=x%></h1>
 <h1>从哪里知道青鸟：
 	<%
 		if(f!=null)
 		for(String t:f){
 			out.print(t+"&nbsp;&nbsp;");
 		}
 	 %>
 </h1>
 <%
 	//注册好了，跳到帅哥那个页面
 	request.getRequestDispatcher("/out.jsp").forward(request, response);
  %>
</body>
</html>